package com.itheima.config;

import com.itheima.bean.MyPostProcessor;
import com.itheima.bean.MyRegistrar;
import com.itheima.bean.MyRegistrar2;
import com.itheima.bean.service.impl.BookServiceImpl1;
import org.springframework.context.annotation.Import;

//前面的bean会被后面的覆盖,  MyPostProcessor.class实现对容器中bean的最终裁定（无论在什么位置）//后处理机制
@Import({BookServiceImpl1.class,MyRegistrar.class, MyRegistrar2.class,MyPostProcessor.class})
//@Import({MyRegistrar.class,BookServiceImpl1.class})
public class SpringConfig8 {
}
